def yyq_assert(r, status_code, msg, status):

    assert status_code == r.status_code
    assert msg in r.json().get('msg')
    assert status == r.json().get('status')
